public class StudyPlan {
    public void doWhat(Week week){
        switch (week){
            case Mon;
            case Tues:
            case Wed:
            case Thurs:
            case Fri:
                System.out.println("学习日，努力学习");
                break;
            case Sat:
                System.out.println("休息日，打游戏");
                break;
            case Sun:
                System.out.println("休息日，打球");
                break;
            default:
                System.out.println("地球上一周只有七天");
                break;
        }
    }

    public static void main(String[] args) {
        StudyPlan v=new StudyPlan();
        v.doWhat(Week.Sun);

    }
}


